#pragma once
#include <bondlib/JumpListNew.h>
#include <bondlib/RealTimeDeal/IRealTimeDealModel.h>

namespace detail {
class RealTimeDealSorter;
class DealIndexComparator {
  RealTimeDealSorter* m_sorter;

 public:
  DealIndexComparator(RealTimeDealSorter* sorter);
  DealIndexComparator(const DealIndexComparator& cmp);
  DealIndexComparator& operator=(const DealIndexComparator& cmp);
  int operator()(const DealIndex& b1, const DealIndex& b2) const;
  int GetExpandLength(int count, int length) { return length * 2; }
};
class RealTimeDealIndexList : public JumpList<DealIndex, DealIndexComparator> {

};
}  // namespace detail